package model;


import java.util.Date;

/**
 * @author cyt
 * @date 2020/8/2
 */
public class Student {
    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public Student(int class_id, Integer student_num, String name, String sex, Date birthday, String email, String remark) {
        this.class_id = class_id;
        this.student_num = student_num;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.remark = remark;
    }

    public Student(int class_id, String name, String sex, Date birthday, String email, String remark) {
        this.class_id = class_id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.remark = remark;
    }

    public Student(String name, String sex, Date birthday, String email, String remark) {
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.remark = remark;
    }

    private int class_id;
    private Integer student_num;

    public Student() {
    }

    public Student(Integer studentNum, String name, String sex, Date birthday, String email, String remark) {
        this.student_num = studentNum;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentNum=" + student_num +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", birthday=" + birthday +
                ", email='" + email + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Integer getStudentNum() {
        return student_num;
    }

    public void setStudentNum(Integer studentNum) {
        this.student_num = studentNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    private String name;

    private String sex;

    private Date birthday;

    private String email;

    private String remark;

}
